class_name GameStateOverTime
extends GameState

func _enter_tree() -> void:
	GameEvents.team_scored.connect(on_team_scored.bind())

func on_team_scored(country_scored_on: String) -> void:
	manager.increase_score(country_scored_on)
	transaction_state(GameManager.State.GAMEOVER)
